/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bionic.ce.entitybeans.systemacc;

import com.bionic.ce.entities.Currency;
import com.bionic.ce.entities.Systemacc;
import com.bionic.ce.entities.User;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Jarik
 */
@Local
public interface SystemaccFacadeLocal {

    void create(Systemacc systemacc);

    void edit(Systemacc systemacc);

    void remove(Systemacc systemacc);

    Systemacc find(Object id);

    List<Systemacc> findAll();

    List<Systemacc> findRange(int[] range);

    int count();

    List<Systemacc> findByUserIdAndCurrency(Integer userId, String currency);

    Systemacc findById(java.lang.Integer id);

    void executedQueryMoneyTransfer(User userFrom, Currency currencyFrom, Currency currencyTo, User userTo, Double queryAmount, Double exchangedAmount);
}
